package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备日志
 * @Author: jeecg-boot
 * @Date:   2022-03-15
 * @Version: V1.0
 */
@Data
@TableName("tiger_device_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tiger_device_log对象", description="设备日志")
public class TigerDeviceLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String name;
	/**设备Id*/
	@Excel(name = "设备Id", width = 15)
    @ApiModelProperty(value = "设备Id")
    private java.lang.String deviceId;
	/**日志时间*/
	@Excel(name = "日志时间", width = 15)
    @ApiModelProperty(value = "日志时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.util.Date logTime;
	/**日志内容*/
	@Excel(name = "日志内容", width = 15)
    @ApiModelProperty(value = "日志内容")
    private java.lang.String content;
	/**日志类别*/
	@Excel(name = "日志类别", width = 15, dicCode = "device_log_category")
	@Dict(dicCode = "device_log_category")
    @ApiModelProperty(value = "日志类别")
    private java.lang.String logCategory;
	/**预警日志类型*/
	@Excel(name = "预警日志类型", width = 15, dicCode = "device_log_type")
	@Dict(dicCode = "device_log_type")
    @ApiModelProperty(value = "预警日志类型")
    private java.lang.String logType;
	/**操作日志类型*/
	@Excel(name = "操作日志类型", width = 15, dicCode = "device_opearte_type")
	@Dict(dicCode = "device_opearte_type")
    @ApiModelProperty(value = "操作日志类型")
    private java.lang.String operateType;
	/**处理状态*/
	@Excel(name = "处理状态", width = 15, dicCode = "log_handle_type")
	@Dict(dicCode = "log_handle_type")
    @ApiModelProperty(value = "处理状态")
    private java.lang.String handleStatus;
	/**处理内容*/
	@Excel(name = "处理内容", width = 15)
    @ApiModelProperty(value = "处理内容")
    private java.lang.String handleContent;
}
